<script type="text/javascript">
    function TyxxcjMainCtrl($scope, $http, modalService) {
        var ctrl = this;
        this.page = ':root/components/manager/tyxxcjAudit.html';
        this.toAuditView = function (item, viewOnly) {
            this.cjzb = item.id;
            this.viewOnly = viewOnly;
            this.page = ':root/components/manager/tyxxcjAuditView.html';
        };
        this.toQuery = function () {
            this.page = ':root/components/manager/tyxxcjAudit.html'
        };
    }
</script>
<div ng-include="mainCtrl.page" ng-controller="TyxxcjMainCtrl as mainCtrl"></div>